﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Phone_jointContol : MonoBehaviour
{
    // Start is called before the first frame update
    public static void Phone_joinStart()
    {
        Joint1Contol.joint1Automatic = true;
        Joint2Contol.joint2Automatic = true;
        Joint3Contol.joint3Automatic = true;
        Joint4Contol.joint4Automatic = true;
        Joint5Contol.joint5Automatic = true;
        Joint6Contol.joint6Automatic = true;
    }
    public static void Phone_joinEnd()
    {
        Joint1Contol.joint1Automatic = false;
        Joint2Contol.joint2Automatic = false;
        Joint3Contol.joint3Automatic = false;
        Joint4Contol.joint4Automatic = false;
        Joint5Contol.joint5Automatic = false;
        Joint6Contol.joint6Automatic = false;
    }
}
